﻿#ifndef GENCAMERA_H
#define GENCAMERA_H
#include <QImage>
class GENCamera
{
public:
    GENCamera();
    virtual ~GENCamera() = 0;
    virtual bool openCamera()=0;//打开相机
    virtual bool closeCamera()=0;//关闭相机
    virtual QImage* getPicture()=0;//获取图片
    virtual bool isAvailable()=0;//相机当前是否处于可用状态
};

#endif // GENERALCAMERA_H
